"""
元组只支持查找操作
"""

#(1) 根据下标查找
tuple1 = ('aa','bb','cc','dd','ee','aa')
print(tuple1[0])

#(2) 根据index()方法查找下标
print(tuple1.index('aa'))

#(3) count()  统计数据出现的次数
print(tuple1.count("aa"))

#(4) len()
print(len(tuple1))
